package engine.impl;

import domain.Award;
import domain.Expression;
import engine.IRule;

public class YiXiu implements IRule {
    private Award award = new Award();
    @Override
    public boolean evaluate(Expression ex) {
        boolean result = false;
        if (ex.getFour()==1){
            result = true;
            award = new Award("一秀","");
        }
        return result;
    }

    @Override
    public Award getAward() {
        return award;
    }
}
